package com.quick.domain;

import lombok.EqualsAndHashCode;

/**
 * @EqualsAndHashCode注解，为使用该注解的类自动生成equals和hashCode方法。
 * Created by wangxin332 on 2018/5/13.
 */
@EqualsAndHashCode(exclude = {"id"},callSuper = true)
public class UseEqualsAndHashCode extends SuperDomain{
    private Long id;
    private String name;
    private String age;

    //等同于  UseEqualsAndHashCode1中方法
}
